package com.wjq.pay.service.impl;

import com.wjq.pay.entity.Order;
import com.wjq.pay.mapper.OrderMapper;
import com.wjq.pay.service.IOrderService;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author wjq
 * @since 2020-06-03
 */
@Service
public class OrderServiceImpl extends ServiceImpl<OrderMapper, Order> implements IOrderService {

    @Override
    public List<Order> selectUnpayOrder() {
        return baseMapper.selectUnpayOrder();
    }

    @Override
    public void updateOrderStatus(String orderid) {
        baseMapper.updateOrderStatus(orderid);
    }
}
